<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>

  <!-- 浏览器不支持 或者js功能被关闭的情况下会显示noscript标签 -->
  <noscript>
    <h1>您的浏览器不支持js,请打开或者更换浏览器</h1>
  </noscript>

  <script>
    alert("js正在运行")
  </script>
</body>
</html>